<!--商城头部固定-->
<header id="header">
    <div class="header_l"> <a class="ico_10" href="#"> 返回 </a> </div>
    <h1> 结算 </h1>
</header>

<section class="acount-lists">
    <ul>
        <li seed="address.htm">
            <p class="title"><span><img src="http://www.51wephone.com/game/eshop/assets/images/acount-user-icon.png" alt=""/>课程信息</span></p>

            <p><span>课程名称：</span><span>123123</span></p>

            <p><span>联系方式：</span><span>1385252525</span></p>

        </li>
        <li seed="address.htm">
            <p class="title"><span><img src="http://www.51wephone.com/game/eshop/assets/images/acount-user-icon.png" alt=""/>报名信息</span></p>

            <p><span>姓名：</span><span>用户21346</span></p>

            <p><span>手机：</span><span>1385252525</span></p>

        </li>
        <li>
            <p class="title"><span><img src="http://www.51wephone.com/game/eshop/assets/images/acount-user-icon.png" alt=""/>支付方式</span></p>

            <p>
                <label for="alipay"><input type="radio" name="pay" id="alipay"/><img src="http://www.51wephone.com/game/eshop/assets/images/alipay-icon.png" alt=""/> <span class="pay-method">支付宝</span></label>
            </p>

            <p>
                <label for="weixin"><input type="radio" name="pay" id="weixin"/><img src="http://www.51wephone.com/game/eshop/assets/images/weixin-icon.png" alt=""/> <span class="pay-method">微信支付</span></label>
            </p>

            <p>
                <label for="bank"><input type="radio" name="pay" id="bank"/><img src="http://www.51wephone.com/game/eshop/assets/images/bank-icon.png" alt=""/> <span class="pay-method">银行卡（请选择支付卡种）</span></label>
                <span class="arrow-down"></span>
            </p>
        </li>
        
    </ul>
</section>

<div class="accounts">
    <div class="money">
        <p></p>
        <p>消费次数：1次</p>
    </div>
    <a class="a-btn" href="#">提交报名</a>
</div>

<script type="text/javascript" src="http://www.51wephone.com/game/eshop/assets/js/zepto.min.js"></script>
<script>
    $(function(){
        var ctrl=$('.ctrl-num');
        var value=0;
        ctrl.find('.minus').on('click',function(){
            var input=$(this).siblings('input');
            value= input.val();
            value--;
            if(value<=1){value=0}
            input.val(value);
        });
        ctrl.find('.plus').on('click',function(){
            var input=$(this).siblings('input');
            console.log(value)
            value= input.val()?input.val():0;
            value++;
            input.val(value);
        });

        $('.acount-lists ul li').on('tap',function(){
            var url=$(this).attr('seed');
            if(url){
                window.location.href=url;
            }else{
                return;
            }
        })
    })
</script>
